package com.chris.homecare.data
{
	public class Employee implements IDataObject
	{
		private var _name:String;
		private var _position:String;
		private var _imageURL:String;
		private var _id:String;
		private var _positionGroupId:String;
		public var ratingNumber:String;
		public var modifiedDt:String;
		public var exprience:String;
		
		public function Employee(id:String, name:String, position:String, positionGroupId:String, imageURL:String, ratingNumber:String, modifiedDt:String, experience:String)
		{
			this._id = id;
			this._name = name;
			this._position = position;
			this._imageURL = imageURL;
			this._positionGroupId = positionGroupId;
			this.ratingNumber = ratingNumber;
			this.modifiedDt = modifiedDt;
			this.exprience = experience;
		}

		public function storeData():void
		{
			DataUtil.insertAnEmployee(this);
		}
		
		public function get positionGroupId():String
		{
			return _positionGroupId;
		}

		public function set positionGroupId(value:String):void
		{
			_positionGroupId = value;
		}

		public function get id():String
		{
			return _id;
		}

		public function set id(value:String):void
		{
			_id = value;
		}

		public function get name():String
		{
			return _name;
		}

		public function set name(value:String):void
		{
			_name = value;
		}

		public function get position():String
		{
			return _position;
		}

		public function set position(value:String):void
		{
			_position = value;
		}

		public function get imageUrl():String
		{
			return _imageURL;
		}

		public function set imageUrl(value:String):void
		{
			_imageURL = value;
		}

	}
}